package Decorator;

import Component.Component;

public class DecoratorUnderline  extends  Decorator{
    public  DecoratorUnderline(Component initComponent) {
        super(initComponent);
    }

    @Override
    public void operation(String outText) {
        super.operation(outText);
        AddUnderlineStyle();

    }

    private void AddUnderlineStyle() {
        System.out.println("下划线样式");
    }
}
